<template>
  <div class="cell" @click="handleClick">
    <div class="content">
      <div class="left">{{ title }}</div>
      <div class="right">
        {{ desc }}
        <span class="iconfont iconjiantou1"></span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ["title", "desc"],
  data() {
    return {};
  },
  methods: {
    handleClick(e) {
      this.$emit("click", e);
    },
  },
};
</script>

<style lang="less" scoped>
.cell {
  padding-left: 20px;
  .content {
    padding: 20px 10px 20px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
  }
  .right {
    font-size: 13px;
    color: #888;
  }
}
</style>